package com.gwq.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gwq.dto.ExercisesDto;
import com.gwq.entity.EquationRecord;
import com.gwq.entity.ExDate;
import com.gwq.entity.Exercises;
import com.gwq.entity.SysUser;
import com.gwq.param.ExercisesPageParam;

import java.security.Principal;
import java.util.List;

public interface ExercisesService {

    Exercises addExercises(String exercises, SysUser sysUser);

    void updateExercises(String id,String fileName);

    Exercises getExercisesById(String id);

    void updateExercises(Exercises exercises);

    ExercisesDto getHistoryExercises(String id);

    Page<Exercises> listHistoryExercises(ExercisesPageParam exercisesPageParam, Principal principal);

    Exercises getFileName(String fileName);

}
